const eyeEle = document.querySelector('.eyes')
const passEle = document.querySelector('input[name = "password"]')

/**---------------密码的显示于隐藏----------------------------*/
eyeEle.addEventListener('mousemove', function () {
    let str = `
               <span class="iconfont icon-yanjing-zhengyan"></span>
               `
    eyeEle.innerHTML = str
    passEle.type = 'text'
})

eyeEle.addEventListener('mouseout', function () {
    let str = `
               <span class="iconfont icon-biyan1"></span>
               `
    eyeEle.innerHTML = str
    passEle.type = 'password'
})